<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{% block title %}Guilda{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="/wowgae_static/main.css" />

{% if replace_url %}
<script type="text/javascript">
history.replaceState('', '', '{{ replace_url }}')
</script>
{% endif %}

</head>
<body>
	<div id="wrapper">
		<div id="content">
			
			<script type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>
			<script id="fake" type="text/javascript"></script>

			<header id="top_header">			
				<a href="{{ links.home }}">
				<h1>Site da Guilda</h1>
				</a>
				<nav>
					<a href="{{ links.home }}">Home</a> |
					<a href="{{ links.activation }}">Ativação</a> |
					<a href="{{ links.wiki }}">Wiki</a> |
					<a href="{{ links.reports }}">Relatórios</a> |
					<a href="{{ links.shortener }}">Encurtador</a>
				</nav>
				<aside>
				{% if welcome_name %}
				Bem-vindo(a) <em>{{ welcome_name }}</em> | <a href="{{ logout_url }}">Logout</a>
				{% else %}
				<a href="{{ login_url }}">Login</a>
				{% endif %}
				</aside>
			</header>

			<section>
			{% block body %}{% endblock %}
			</section>
			
			<footer>
				<p style="float: left; vertical-align: text-top;">
					<a href="{{ links.share }}">Compartilhe esta página!</a> <br />
									
				</p>
			</footer>

		</div>
	</div>
</body>
</html>